
export default {
    digitalWrite(data,sub) {
        console.log(data)
        let send = {};
        send[data.identifier] = data.content === true ? "1" : "0";
        console.log(send);
        this.$mqtt.publish(sub, send);
    },
}